<?php
namespace app\admin\controller;
use think\facade\Db;
use think\facade\Request;
use think\facade\View;

class Order{
    public function order()
    {
        $line = Db::name('order_status')->select();

        $arr = \app\admin\logic\Order::orderWhere();
echo"<pre>";
print_r($arr);
echo"</pre>";
        $list=\app\admin\model\Order::orderList($arr['where'],$arr['one']);
        View::assign('list',$list);
        View::assign('line',$line);
        return view();
    }

}